package com.share.barter.data;

import java.util.List;

import com.share.barter.data.pojo.SBook;

 
public interface ISBookMapper {
	
	public void saveBook(SBook book) ;

	
	public void deleteBook(int id) throws RuntimeException;

	
	//public List<SBook> findBooksByPublisher(String publisher)
	//		throws RuntimeException;

	
	//public SBook findBookByISBN(String isbn) throws RuntimeException;

	
	public void updateBook(SBook book) throws RuntimeException;

	
	public List<SBook> findAllBook() ;


	public SBook findBookById(int id) throws RuntimeException;
	//public boolean deleteBook(int book) throws RuntimeException;
}
